//
//  WBHomeViewController.swift
//  心情微博
//
//  Created by 孝飞王 on 16/12/20.
//  Copyright © 2016年 孝飞王. All rights reserved.
//

import UIKit

class WBHomeViewController: WBBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
    
    }

    
}

extension WBHomeViewController {
    
    override func setUpUI() {
        super.setUpUI()
        navigationItem.leftBarButtonItem = UIBarButtonItem(title:"好友", style: .plain, target: self, action: #selector(leftItemClik))
        
    }
            //左边按钮点击
    @objc  private func leftItemClik(){
        print("显示好友列表")
        print(#function)
        navigationController?.pushViewController(WBTestViewController(), animated: true)
    }

    
}
